@charset "utf-8";

/**
 *
 * UI样式表
 * Created by WangZhenJia on 2017/5/17.
 */

/*--------------------------------
变量
-----------------------------------------*/
$color-theme:#363d59;
$color-info:#3a8dc2;
$color-danger:#ff4f6d;
$color-warning:#d58e42;
$color-success:#3abf56;

/*----------------------------------

_________________________________*/
ul,li{
    list-style: none;
}
/*----------------------------------

_________________________________*/

/*----------------------------------

_________________________________*/
.main{
    padding:35px 20px 0 20px;
}
/*----------------------------------

_________________________________*/
.container{
    width:100%;
}

/*----------------------------------
顶部工具
----------------------------------*/
.top-header{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 70px;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;

    z-index: 1031;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-left: 20px;
    padding-right: 20px;
}
.logo{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 70px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;


}
.top-header .search-form{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
    margin-left: 10px;
    margin-right: 20px;
}

/*----------------------------------
导航菜单
----------------------------------*/
.navigation-side{
    display: block;
    width:100%;
    padding-left:20px;
    padding-right:20px;

    ul.menu-bottom {
        padding: 0;
        margin: 0;
        display: inline-block;
        z-index: 1030;

        .level-1 {
            position:relative;
            z-index: 1030;
        }

        a {
            position: relative
        }
        a.has-children:before {
            font-family: FontAwesome;
            content: "\f105";
            position: absolute;
            top: 0;
            right: 0;
            font-size:.625rem;
            transition: -webkit-transform .3s ease;
            transition: transform .3s ease;
            transition: transform .3s ease, -webkit-transform .3s ease
        }
    }
    /**一级**/
    ul.menu-bottom >li{
       position:relative;
        >a{
            width:100%;
            display:block;
        }
    }
    /*二级*/
    ul.menu-bottom >li>ul{
        position: absolute;
        top: 100%;
        left: 0;
        width: 200px;
        pointer-events: none;
        opacity: 0;
        >li {
            position: relative;
            width: 200px;
        }
    }
    /*三级*/
    ul.menu-bottom >li>ul>li>ul {
        position: absolute;
        top: 0;
        left: 100%;
        width: 200px;
        pointer-events: none;
        opacity: 0;
        >li{
            width:200px;
        }
    }

    /*
    显示二级
    显示三级
    */
    .menu-bottom>li:hover>ul,
    .menu-bottom>li>ul>li:hover>ul {
        pointer-events: auto;
        opacity: 1
    }

    /*一级文本*/
    >ul>li>a {
        height: 45px;
        line-height: 45px;
        /*图标*/
        > i {
            display: none;
        }
    }
    /*
    二级文本
    三级文本
    */
    >ul>li>ul li,
    >ul>li>ul li a {
        height: 45px;
        line-height: 45px
    }
}
/*用于顶部导航*/
.top-navigation {
    background: #428bca;
    display: block;
    width: 100%;
    z-index: 1030;
    white-space: nowrap;
/*
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
*/

    >ul>li {
        margin: 0;
        padding: 0 15px;
    }
    ul>li>a {
        height: 45px;
        line-height: 45px;
        font-weight: 700;

        background: #428bca;
        color:#fff;
    }
    /*二级*/
    >ul>li>ul li {
        height: 45px;
        line-height: 45px;
        margin: 0;
        padding: 0 15px;

        background: #fff;
        color:#333;
    }
    /*三级*/
    >ul>li>ul li a{
        height: 45px;
        line-height: 45px;
        font-size:.8125rem;
        font-weight: 700;

        background: #fff;
        color:#333;
    }
    a{
        background: #fff;
        color: #212121;

        &:hover{
            text-decoration:none;
            cursor:pointer;
        }
    }
    .menu-bottom {
        background: #fff;
        border-color: #ebebeb;
    }
    .menu-bottom .level-1 {
        background: #fff;
        background: #428bca;

        position: relative;
        &:after {
            content: "";
            display: none;
            position: absolute;
            top: calc(100% - 3px);
            left: 0;
            right: 0;
            width: 100%;
            height: 3px;
            background-color: #fff;
        }
        &:hover:after {
            display: block;
        }
    }
    /*一级背景阴影*/
    .menu-bottom>li>ul {
        box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);
    }
        /*二级hover*/
    .menu-bottom > li > ul > li:hover {
            background: #428bca;
        }
    .menu-bottom    > li > ul > li:hover > a {
            background: #428bca;
            color: #fff;
        }

        /*三级hover*/
    .menu-bottom    > li > ul > li > ul > li:hover {
            background: #428bca;
        }
    .menu-bottom    > li > ul > li > ul > li:hover > a {
            background: #428bca;
            color: #fff;
        }

}
/*----------------------------------

_________________________________*/
.form-filter{
    width:80%;

}

/*----------------------------------

_________________________________*/
.table {
    border-collapse: collapse !important;
    border-spacing: 0;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size:12px;
}
.table {
    width: 100%;
}
.table > thead > tr > th,
.table > tfoot > tr > th {
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}
.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    padding: 12px 15px;
    vertical-align: middle;
    border-top: 1px solid #ddd;
    background:#fff;
    text-align:left;
}
.table > tfoot > tr > th,
.table > thead > tr > th {
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}
.table > tbody + tbody {
    border-top: 1px solid #ddd;
}
.table > thead > tr > th{background:none;}
.table > tbody > tr > th{background:#f6f6f6;}
/*striped*/
.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color: #fafafa;
}
/*border*/
.table-bordered,
.table-bordered > tbody > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > thead > tr > th {
    border: 1px solid #ddd;
}
.table-bordered-nowarp {
    border: none;
}
/*hover*/
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: #eaf5fa;
}
.table tbody td:focus{
    outline:none;
}
td.react-bs-table-no-data{

}

.table .filter.text-filter{
    display:none;
}


/*--------------------------------
  alert提示框(growl)
 -----------------------------------------*/
#growls.tc {
    top: 100px;
}
.growl{
    opacity: 1;
    filter: alpha(opacity=100);
    -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    -ms-box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    border-radius: 0;

    > .growl-title{
        display:none;
    }
    > .growl-message{
        text-align:center;
        >.fa{
            color:$color-info;
            margin-right:10px;
        }
    }
    &.growl-large{
        width:500px;
        padding: 20px 15px;
    }
    &.growl-default {
        color: #333;
        border:1px solid #bbbbbb;
        background: #fff;
    }

}

/*--------------------------------
  块状展示图
 -----------------------------------------*/
.welcome{
    margin-bottom: 10px;
}
.blankGroup{
    border:1px solid #ccc;
    margin-bottom: 10px;
    .caption{
        font-size:14px;
        font-weight: 400;
        border-bottom:1px solid #ccc;
        padding:10px;
       background: #f9f9f9;
    }
    .group{
        padding:20px;
        >.blank{
            float: left;
            width:25%;
            padding:10px 10px;
            margin:10px 0 10px;
            text-align:center;

            >.title{font-size:14px;margin-bottom:10px; color:#666;}
            >.content{font-size:18px; color:#428bca; font-weight:bold;}
            >.fa{margin-right:5px;}
        }
        .blank4{
            width:33.33333333%
        }

        >.row{
            padding:10px 20px;
            margin-bottom:10px;
            border-bottom:1px solid #eee;
            color: #666;
            font-size: 14px;
            >.label{
                color:#999;
                width: 100px;
                text-align:left;
            }
        }

    }
}